			<div id="sidebar_login">
			<?php
				if (!$this->common->current_user()) {
					echo form_open('authentication/login');
					echo form_label('Username', 'user');
					echo form_input('user', '').br();
					echo form_label('Password', 'pass');
					echo form_password('pass', '').br();
					echo form_submit('submit', 'Login').nbs(1);
					echo form_reset('reset', 'Reset');
					echo form_close();
				} else {
			?>			
				<strong>USER</strong>: <?=$this->common->anchor_current_user()?><br />
				<strong>ROLE</strong>: <?=$this->common->anchor_current_role_desc()?><br />
				<div class="right"><?=anchor_logout()?></div>
			<?php
			}
			?>
			</div>